arm: parse PSCI node from the host device-tree
authorAndre Przywara <andre.przywara@linaro.org>
Thu, 5 Dec 2013 10:08:09 +0000 (11:08 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 5 Dec 2013 12:25:09 +0000 (12:25 +0000)
commit18a13b96766cfa44c0edb170ed34a1d6bfde9db1
tree86b049b9db7cf066a09c928283e25ae38bfae908
parent4e014d63e3d611efbb5fc971ffccafda9aa2b2bb
arm: parse PSCI node from the host device-tree

The availability of a PSCI handler is advertised in the DTB.
Find and parse the node (described in the Linux device-tree binding)
and save the function number for bringing up a CPU for later usage.
We do some sanity checks, especially we deny using HVC as a calling
method, as it does not make much sense currently under Xen.

Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/Makefile
xen/arch/arm/psci.c [new file with mode: 0644]
xen/arch/arm/smpboot.c
xen/include/asm-arm/psci.h